// ReadMetaPropertyInt attempts to read the property with the given key
// from the meta store and then attempts to type assert any non-nil value
// as an int. If the store does not exist, or if the store cannot be parsed,
// or the property does not exist, 0 is returned.
ReadMetaPropertyInt attempts to read the property with the given key
from the meta store and then attempts to type assert any non-nil value
as an int. If the store does not exist, or if the store cannot be parsed,
or the property does not exist, 0 is returned.
// ReadMetaPropertyInt attempts to read the property with the given key // from the meta store and then attempts to type assert any non - nil value // as an int . If the store does not exist or if the store cannot be parsed // or the property does not exist 0 is returned .
func ReadMetaPropertyInt(key string) (int, error) {
	value, err := readMetaProperty(key)
	if err != nil || value == nil {
		return 0, err
	}
	return int(value.(float64)), nil
}
func ReadMetaPropertyInt ( key string ) ( int , error ) { value , err := readMetaProperty ( key ) if err != nil || value == nil { return 0 , err } return int ( value . ( float64 ) ) , nil }
ReadMetaPropertyInt attempts to read the property with the given key
from the meta store and then attempts to type assert any non-nil value
as an int.
ReadMetaPropertyInt attempts to read the property with the given key from the meta store and then attempts to type assert any non - nil value as an int .