change-string-case/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js

16 lines
403 B
JavaScript
Raw Normal View History

2023-10-26 04:27:07 +08:00
import {
paginatingEndpoints
} from "./generated/paginating-endpoints";
import { paginatingEndpoints as paginatingEndpoints2 } from "./generated/paginating-endpoints";
function isPaginatingEndpoint(arg) {
if (typeof arg === "string") {
return paginatingEndpoints.includes(arg);
} else {
return false;
}
}
export {
isPaginatingEndpoint,
paginatingEndpoints2 as paginatingEndpoints
};