Checks to see if a string passed through starts with sup
.
If sup
is passed it will return true
otherwise it will be false
yarn add @just-baiting/is-sup
import { isSup } from '@just-baiting/is-sup';
console.log(isSup('sup')); // true
console.log(isSup('hi, sup?')); // false