constant function
dynamic
constant(
- dynamic v
@exports opentype.sizeOf @class
Implementation
// var sizeOf = {};
// Return a function that always returns the same value.
constant(v) {
return () {
return v;
};
}