0

如何检查变量是否是 Puppet DSL 中的数字?

谢谢

4

1 回答 1

1

使用标准库中的 is_numeric 函数:https ://github.com/puppetlabs/puppetlabs-stdlib

于 2012-12-01T22:43:31.827 回答