UNPKG

@cloud-copilot/iam-policy

Version:
10 lines 289 B
/** * Checks if a string is all wildcards(*) * * @param value The value to check if it is a wildcard * @returns True if the value is all wildcards, false otherwise */ export function isAllWildcards(value) { return value.match(/^\*+$/) !== null; } //# sourceMappingURL=utils.js.map