MCPcopy Create free account
hub / github.com/neetcode-gh/leetcode / isStar

Function isStar

javascript/0678-valid-parenthesis-string.js:89–89  ·  view source on GitHub ↗
(char)

Source from the content-addressed store, hash-verified

87};
88
89var isStar = (char) => char === '*';
90var isOpened = (char) => char === '(';
91var isClosed = (char) => char === ')';
92const isKEqual = (k, i, size) => k === i + size;

Callers 2

checkValidStringFunction · 0.85
checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected