Current File : //usr/lib/node_modules/bower/lib/node_modules/mout/src/string/startsWith.js
define(['../lang/toString'], function (toString) {
    /**
     * Checks if string starts with specified prefix.
     */
    function startsWith(str, prefix) {
        str = toString(str);
        prefix = toString(prefix);

        return str.indexOf(prefix) === 0;
    }

    return startsWith;
});