Creates a shape that requires a UUID string.
import {uuidShape, checkValidShape} from 'object-shape-tester';const myShape = uuidShape();checkValidShape('00000000-0000-1000-0000-000000000000', myShape); // `true`checkValidShape('0-0', myShape); // `false` Copy
import {uuidShape, checkValidShape} from 'object-shape-tester';const myShape = uuidShape();checkValidShape('00000000-0000-1000-0000-000000000000', myShape); // `true`checkValidShape('0-0', myShape); // `false`
Creates a shape that requires a UUID string.