a-synchronous / a-synchronous/rubico

rubico/x/endsWith

Aberta Para iniciantes
#168 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
JavaScript
Estrelas
283
Forks
17
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

```coffeescript
endsWith(suffix string)(value string) -> boolean
```
Determine whether a string ends with a suffix.

```javascript
console.log(endsWith('y')('hey')) // true
```

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

The issue is to implement an `endsWith` function in the rubico library. Look at the x/ directory for existing utility functions, likely in a file like `x/endsWith.js`. The function should take a suffix string and return a function that takes a value string, returning a boolean. Check the library's testing setup to write a test for the new function, ensuring it matches the example: endsWith('y')('hey') returns true.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
backend-api-design
Tipo de issue
Funcionalidade
Dificuldade
1/5
Tempo estimado
Menos de uma hora
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
75/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.